.container {
  // margin-top: 250rpx;
  padding: 0 25rpx 170rpx 25rpx;
  background-color: rgb(245, 245, 245);
}

.divider-space {
  padding: 6rpx 0;
  height: 2rpx;
}

.card {
  padding: 20rpx;
  background-color: #fff;
  border-radius: 20rpx;
  overflow: hidden;
}

.top-bg {
  // height: 300rpx;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  // background-image: url("https://p4.music.126.net/5L9yqWa_UnlHtlp7li5PAg==/2002210674180204.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  // background-size: 100%;
}

.userInfo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;

  box-sizing: border-box;
  height: 260rpx;
  background-color: #fff;
  border-radius: 20rpx;

  .avatar-img {
    position: absolute;
    width: 130rpx;
    height: 130rpx;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .nickName {
    padding-top: 80rpx;
    font-size: 36rpx;
    font-weight: bold;
  }

  .other-info {
    margin: 20rpx 0;
    font-size: 24rpx;
    color: rgb(164, 164, 164);
    text {
      padding: 0 20rpx;
      &:nth-child(2) {
        border-left: 1px solid rgb(164, 164, 164);
        border-right: 1px solid rgb(164, 164, 164);
      }
    }
  }

  .user-tags {
    font-size: 22rpx;
    & > text,
    & > rich-text {
      padding: 5rpx 10rpx;
      margin: 0 10rpx;
      border-radius: 10rpx;
      border: 1px solid #ccc;
    }
  }
}

.title {
  font-size: 27rpx;
  font-weight: bold;
}

.title-label {
  font-size: 18rpx;
  color: #ccc;
}

.record {
  padding-bottom: 0;
}

.favorite-main {
  display: flex;
  image {
    width: 120rpx;
    height: 120rpx;
    border-radius: 20rpx;
  }
  .favorite-text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 25rpx;
    .label {
      font-size: 20rpx;
      color: #ccc;
    }
  }
}

.playlist {
  padding: 0;

  .title {
    display: inline-block;
    margin: 20rpx 0 15rpx 0;
    padding: 0 20rpx;
  }

  .playlist-main {
    display: flex;
    flex-direction: column;

    .playlist-item {
      display: flex;
      align-items: center;
      padding: 8rpx 20rpx;
      transition: background-color 200ms;

      &:last-child{
        padding-bottom: 16rpx;
      }

      &:active {
        background-color: #00000022;
      }

      image {
        width: 100rpx;
        height: 100rpx;
        border-radius: 20rpx;
      }

      .item-text {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding-left: 25rpx;

        .item-name {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          overflow: hidden;
          text-overflow: ellipsis;
          width: 100%;
        }

        .item-label {
          font-size: 20rpx;
          color: #ccc;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          overflow: hidden;
          text-overflow: ellipsis;
          width: 100%;
        }
      }
    }
  }
}

.logout-btn {
  width: 200rpx;
  height: 60rpx;
  box-sizing: border-box;
  margin: 15rpx auto;
  padding: 0rpx 12rpx;
  border-radius: 20rpx;
  line-height: 60rpx;
  text-align: center;
  color: rgb(248, 158, 158);
  background-color: rgb(255, 252, 252);
  transition: background-color 100ms;
  &:active {
    background-color: #00000022;
  }
}
